package cn.feng.mall.mybatis.service.impl;

import cn.feng.mall.mybatis.mapper.UmsAdminMapper;
import cn.feng.mall.mybatis.model.UmsAdmin;
import cn.feng.mall.mybatis.service.UmsAdminService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;


@Service
public class UmsAdminServiceImpl implements UmsAdminService {

    @Autowired
    UmsAdminMapper umsAdminMapper;


    @Override
    public UmsAdmin umsAdminLogin(UmsAdmin umsAdmin) {
        return this.umsAdminMapper.selectByUmsAdminNameAndPassword(umsAdmin);
    }
}
